package lng.site.balafon.jpa;

import java.util.List;

import lng.site.balafon.model.TypePost;
import lng.site.balafon.dao.TypePostDAO;

import org.hibernate.criterion.Restrictions;

/**
 * <p>Hibernate DAO layer for TypePosts</p>
 * <p>Generated at Thu Aug 02 21:53:17 CEST 2012</p>
 *
 * @author Salto-db Generator v1.0.16 / EJB3 + Spring/Hibernate DAO + TestCases
 * @see http://www.hibernate.org/328.html
 */
public class TypePostHibernateDAO extends
		AbstractHibernateDAO<TypePost, Integer> implements
		TypePostDAO {

	/**
	 * Find TypePost by valeurTypePost
	 */
	public List<TypePost> findByValeurTypePost(String valeurTypePost) {
		return findByCriteria(Restrictions.eq("valeurTypePost", valeurTypePost));
	}
	

}
